<html><head><title>MaterialShadingMode</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">MaterialShadingMode()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>MaterialShadingMode</b></font>(#Material, Mode)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Changes the #Material shading mode. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Material</i></td>
<td width="90%"> 
The material to use. 

</td></tr>
<tr><td><i>Mode</i></td>
<td> 
It can be one of the following value: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Material_Flat</font>     : The material use the flat mode, the lighting is done face by face.
  <font color="#924B72">#PB_Material_Gouraud</font>  : Performs a shading using the Gouraud algorithm (default).
  <font color="#924B72">#PB_Material_Phong</font>    : Performs a shading using the Phong algorithm.
</font></pre>
combined with one of the following value: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Material_Solid</font>    : The material will be rendered in solid, textured mode (default).
  <font color="#924B72">#PB_Material_Wireframe</font>: The material will be rendered in wireframe mode.
  <font color="#924B72">#PB_Material_Point</font>    : The material will be rendered using only edge points.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Remarks</b></p><blockquote>

To get the current material shading mode, use <a href="getmaterialattribute.html">GetMaterialAttribute()</a>. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="getmaterialattribute.html">GetMaterialAttribute()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=materialid.html>MaterialID()</a> - <a href="index.html">Material Index</a> - <a href="materialshininess.html">MaterialShininess()</a> -><br><br>

</body></html>